# 在字典中存放列表
pizza = {
    'crust': 'thick',
    'toppings': ['mushrooms', 'extra cheese'],
}

print(pizza)
print(pizza['toppings']) # 字典访问键'key'的值
# print(pizza['thick']) # 不能通过此查询'value'对应的key

print(f"You ordered a {pizza['crust']}-crust pizza "
    "with the following toppings:") # 字符串同1行显示分2行写 "" ""

for topping in pizza['toppings']:
    print('\t' + topping) # '\t'+topping 字符串组合